package com.o.mj.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import redis.clients.jedis.Jedis;
@Repository
@Mapper
public interface JedisDao {

    String get(String key);

    String set(String key, String value);
    //用于设置失效时间
    Long expire(String key, int sec);

}
